#include "test.h"

#include "wavelet.h"
#include "img/image.hpp"
#include "wavelet.h"
#include "haar.h"

namespace oet {
using namespace axle::img;
using namespace oe;

void WaveletTest(const char *input, const char *output) {
  ImageRgbByte img;
  img.Load(input);
  img.Save("test.jpg");
  ImageRgbFloat target;
  target.Copy(img);
  target.Save("test2.jpg");
  Wavelet<ImageRgbFloat> wl(target);

  wl.Decompose();
  target.Save(output); 
}
} // oet
